$OpenBSD: patch-Makefile,v 1.1.1.1 2016/06/08 17:48:44 jca Exp $
--- Makefile.orig	Sun Aug 30 09:04:24 2015
+++ Makefile	Tue May 24 19:46:56 2016
@@ -3,9 +3,9 @@ MAIN=main.cpp
 TESTS=Test.cpp
 PROGNAME=bastet
 BOOST_PO?=-lboost_program_options
-LDFLAGS+=-lncurses $(BOOST_PO)
+LDFLAGS+=-lncurses $(BOOST_PO) -L${LOCALBASE}/lib -DLOCALSTATEDIR=${LOCALSTATEDIR}
 #CXXFLAGS+=-ggdb -Wall
-CXXFLAGS+=-DNDEBUG -Wall
+CXXFLAGS+=-DNDEBUG -Wall -Wno-unused-local-typedef -I${LOCALBASE}/include
 #CXXFLAGS+=-pg
 #LDFLAGS+=-pg
 
@@ -17,7 +17,7 @@ Test: $(SOURCES:.cpp=.o) $(TESTS:.cpp=.o)
 depend: *.hpp $(SOURCES) $(MAIN) $(TESTS)
 	$(CXX) -MM $(SOURCES) $(MAIN) $(TESTS)> depend
 
-include depend
+#include depend
 
 $(PROGNAME): $(SOURCES:.cpp=.o) $(MAIN:.cpp=.o)
 	$(CXX) -ggdb -o $(PROGNAME) $(SOURCES:.cpp=.o) $(MAIN:.cpp=.o) $(LDFLAGS) 
